package com.mapperdb.builder.annotation;

import java.lang.reflect.Method;

import org.apache.ibatis.builder.annotation.MethodResolver;

/**
 * 重写 MethodResolver
 * @author Administrator
 *
 */
public class MethodResolverOvrd extends MethodResolver {
	private final AnntBuilder annotationBuilder;
	private Method method;

	public MethodResolverOvrd(AnntBuilder annotationBuilder, Method method) {
		super(null, null);
		this.annotationBuilder = annotationBuilder;
		this.method = method;
	}

	@Override
	public void resolve() {
		annotationBuilder.parseStatement(method);
	}
}
